gtk: trick g-ir scanner to add INVALID_LIST_POSITION
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 4 May 2021 21:33:41 +0000 (21:33 +0000)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 4 May 2021 22:45:21 +0000 (00:45 +0200)
without it, the define doesn't get picked in the introspection data

gtk/gtktypes.h

index 9b3b76390ebb2da0f846c9bfbcb2846a6baaf2b3..342b62c843009dcb2f223755bbeb447c2030ce3b 100644 (file)
@@ -66,7 +66,7 @@ typedef struct _GtkWindow              GtkWindow;
  * Refer to each function's documentation for if this value is allowed and what it
  * does.
  */
-#define GTK_INVALID_LIST_POSITION (G_MAXUINT)
+#define GTK_INVALID_LIST_POSITION (0xffffffffU)
 
 G_END_DECLS